cc_library(
    name = "app_lib",
    srcs = [
        "src/flags.cpp",
        "src/logger.cpp",
    ],
    hdrs = [
        "include/flags.h",
        "include/logger.h"
    ],
    includes = ["include"],
    deps = [
        "@com_github_gflags_gflags//:gflags",
        "@com_github_google_glog//:glog",
    ],
    visibility = ["//visibility:public"],
)

cc_binary(
    name = "app",
    srcs = ["src/main.cpp"],
    deps = [":app_lib"],
)
